package com.sc.utils;

public class BusinessException extends RuntimeException {
    private String code;
    private String desc;
    public BusinessException(){
        super();
    }
    public BusinessException(String message) {
        super(message);
    }
    public BusinessException(String message,Throwable cause) {
        super(message,cause);
    }
    public BusinessException(Throwable cause) {
        super(cause);
    }
    public BusinessException(String code,String desc) {
        this.code=code;
        this.desc=desc;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getDesc() {
        return desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }
}
